<?php

class IDMAX{

    
    function id(){
$doc=$_POST['doc'];

include dirname (__FILE__) . '/../classes/Connection.class.php';
$objConn=new CONNECTION();  
    
 $result=$objConn->search("select Clientes.id from Clientes  where Clientes.doc=$doc");
 return $result;

}

}




?>

